package com.sgb.kjwl.model.entity.user;

import java.util.List;

public class GoodsEntity {

    /**
     * totalRow : 82
     * pageNumber : 1
     * firstPage : true
     * lastPage : false
     * totalPage : 17
     * pageSize : 5
     * list|1-8 : [{"id|1-100":9,"title":"@string","updateTime":"@date","status":"已下架|已上架","brand":"@word","address":"@province@city@county","price":"￥3000.00","image":"@image"}]
     */

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;

    private List<GoodsStateEntity> list;

    public List<GoodsStateEntity> getList() {
        return list;
    }

    public void setList(List<GoodsStateEntity> list) {
        this.list = list;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
